<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2017/11/10
  Time: 10:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>

    <title>车票查询</title>
</head>
<body>
<h1 align="查询车票价格"></h1>
<c:if test="${not empty msg}">
    <div style="color: red">${msg}</div>
</c:if>
<form action="${pageContext.request.contextPath}/train/query" method="post">
    车次：<input type="text" placeholder="请输入车次" name="trainNum"><br>
    起始站：<input type="text" placeholder="请输入起始站" name="startStation"><br>
    终点站:<input type="text" placeholder="请输入终点站" name="endStation"><br>
    <button type="submit">查询</button>

</form>
</body>
</html>
